package com.wuye.zlgl.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wuye.common.annotation.Excel;
import com.wuye.common.core.domain.BaseEntity;

/**
 * 车位租赁对象 wy_parking_rent
 * 
 * @author 杨
 * @date 2024-11-22
 */
public class WyParkingRent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 车位位置 */
    @Excel(name = "车位位置")
    private String parkingLocation;

    /** 车主姓名 */
    @Excel(name = "车主姓名")
    private String ownerName;

    /** 车主手机 */
    @Excel(name = "车主手机")
    private String phone;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idNumber;

    /** 车牌号码 */
    @Excel(name = "车牌号码")
    private String licensePlate;

    /** 单价 */
    @Excel(name = "单价")
    private Long price;


    /** 起租时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "起租时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 总价 */
    @Excel(name = "总价")
    private Long total;

    /** 租用状态 */
    @Excel(name = "租用状态")
    private Long status;
    @Excel(name="房间id")
    private Long balconyunithomeId;

    public Long getBalconyunithomeId() {
		return balconyunithomeId;
	}
    public void setBalconyunithomeId(Long balconyunithomeId) {
        this.balconyunithomeId = balconyunithomeId;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setParkingLocation(String parkingLocation) 
    {
        this.parkingLocation = parkingLocation;
    }

    public String getParkingLocation() 
    {
        return parkingLocation;
    }
    public void setOwnerName(String ownerName) 
    {
        this.ownerName = ownerName;
    }

    public String getOwnerName() 
    {
        return ownerName;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }
    public void setLicensePlate(String licensePlate) 
    {
        this.licensePlate = licensePlate;
    }

    public String getLicensePlate() 
    {
        return licensePlate;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setTotal(Long total) 
    {
        this.total = total;
    }

    public Long getTotal() 
    {
        return total;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parkingLocation", getParkingLocation())
            .append("ownerName", getOwnerName())
            .append("phone", getPhone())
            .append("idNumber", getIdNumber())
            .append("licensePlate", getLicensePlate())
            .append("price", getPrice())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("total", getTotal())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("balconyunithomeId", getBalconyunithomeId())
            .toString();
    }

}
